CAM Custom |
Menu location |
---|
CAM → Supplemental Commands → Custom |
Workbenches |
CAM |
Default shortcut |
None |
Introduced in version |
- |
See also |
None |
The tool Custom inserts a path object which is built from hand coded custom G-code.
Because the Custom G-code command provides no link to a Tool Controller, if a Tool is used by the custom G-code, the Tool index must be written, along with the Spindle Start M-code, in order that it is passed to the Postprocessor. This ensures that Tool changes and starts will be properly generated.
For example, to convey to the Postprocessor that the Tool used in the Custom G-code operation has Tool index 6, and a Spindle Speed of 10,000, insert the following code at the beginning of the Custom G-code Operation:
(T6: 4mm Endmill)
M6 T6
M3 S10000
Note that Feed rates will be correctly generated by the Postprocessor, only if the Custom G-code Feed rates are written in Units/second.